What is lanyard hanging from pocket?

A lanyard hanging from a pocket is a popular accessory that is made of a strap or cord typically worn around the neck, wrist, or (in this case) attached to a pocket. It is used to carry items such as ID badges, keys, cell phones, and other small essentials that a person needs to have close at hand. They are often seen at events, workplaces, and schools where identification is required. Lanyards can also be used as a fashion statement, and they come in a variety of colors and designs to match an individual's style. Overall, a lanyard is a practical and functional accessory that provides convenience and ease of access to necessary items.